/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __INTERFACE_I_ALL_DONE_TEST__
#define __INTERFACE_I_ALL_DONE_TEST__


/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_box
{
    class i_notify;

    // 
    // all_done_test obj
    // 
    class i_all_done_test : public xos::i_release
    {
    protected:
        virtual ~i_all_done_test(){}

    public:
        virtual int set_notify( i_notify * pNotify, int nMsg ) = 0;
        virtual int add_num( int nNum ) = 0;
        virtual int test( int nNum ) = 0;
        virtual int reset() = 0;

    };
}

#endif // __INTERFACE_I_ALL_DONE_TEST__
